package com.example.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.service.ActivitiService;

@RestController
public class ApiController {

	@Resource
	ActivitiService activitiService;
	
	@GetMapping("/start")
	public void start() {
		activitiService.startProcess("myProcess", 1l, "simplechen");
	}	
}
